* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    background-color: rgb(230, 230, 230);
    margin: 0 auto;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?khbe0d');
    src: url('../fonts/icomoon.eot?khbe0d#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?khbe0d') format('truetype'), url('../fonts/icomoon.woff?khbe0d') format('woff'), url('../fonts/icomoon.svg?khbe0d#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 45px;
    /* color: white; */
    background-color: red;
}

.left {
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 45px;
    font-size: 35px;
    text-align: center;
    line-height: 23px;
    /* background-color: tomato; */
}

.center {
    height: 30px;
    margin: 7px 50px;
    background-color: rgb(255, 255, 255);
    border-radius: 15px;
    /* border: 1px solid #333; */
}

.center ul {
    position: relative;
    margin: 0;
    padding: 0;
}

.center ul li {
    list-style: none;
    float: left;
    color: #666;
}

.center ul li:nth-child(1) {
    position: absolute;
    top: 0;
    left: 13px;
    font-size: 25px;
    color: tomato;
}

.center ul li:nth-child(2) {
    position: absolute;
    top: -2px;
    left: 50px;
    font-size: 25px;
}

.center ul li:nth-child(3) {
    font-family: 'icomoon';
    position: absolute;
    top: 1px;
    left: 67px;
    font-size: 25px;
}

.center ul li:nth-child(4) {
    position: absolute;
    top: 5px;
    left: 100px;
}

.center ul li:nth-child(4) input {
    width: 160px;
    border: 0;
    outline: none;
}

.right {
    position: absolute;
    top: 0;
    right: 0;
    width: 10%;
    height: 45px;
    text-align: center;
    line-height: 45px;
    /* background-color: pink; */
}

section img {
    width: 100%;
    margin-top: 45px;
}

nav {
    margin: 0;
    padding: 0;
    height: 130px;
    /* background-color: thistle; */
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    width: 20%;
    float: left;
    list-style: none;
    text-align: center;
}

nav ul li img {
    width: 40px;
}

nav ul li span {
    display: block;
    color: #999;
    font-size: 14px;
}

.miaosha {
    position: relative;
    margin: 0;
    padding: 0;
    height: 120px;
    /* background-color: violet; */
}

.miaosha .ms {
    position: absolute;
    line-height: 30px;
    top: 0px;
    left: 7px;
    font-size: 16px;
}

.miaosha .more {
    position: absolute;
    line-height: 30px;
    top: 0px;
    right: 7px;
    font-size: 12px;
    color: tomato;
}

.miaosha ul {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    /* background-color: teal; */
    margin: 0;
    padding: 0;
}

.miaosha ul li {
    margin: 0;
    padding: 0;
    float: left;
    width: 20%;
    list-style: none;
}

.miaosha ul li a {
    text-align: center;
    display: block;
    height: 80px;
    text-decoration: none;
}

.miaosha ul li a img {
    margin: 0;
    padding: 0;
    width: 55px;
}

.miaosha ul li a span {
    font-size: 12px;
    color: tomato;
}

.products {
    width: 100%;
    height: 1290px;
    background-color: whitesmoke;
}

.products .one {
    float: left;
    overflow: hidden;
    box-sizing: border-box;
    margin: 5px;
    height: 300px;
    width: 47%;
    background-color: white;
    border-radius: 20px;
}

.products .one img {
    margin: 0;
    padding: 0;
    width: 100%;
}

.products .one h4 {
    display: block;
    font-weight: normal;
    margin: 10px;
}

.products .one .price {
    float: left;
    color: red;
    margin: 5px;
}

.products .one span:last-child {
    float: right;
    color: rgb(223, 223, 223);
    font-size: 12px;
    background-color: #666;
    border-radius: 10px;
    margin: 5px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: thistle;
}

footer ul {
    margin: 0;
    padding: 0;
}

footer ul li {
    width: 20%;
    height: 50px;
    float: left;
    margin-top: 7px;
    text-align: center;
    list-style: none;
}

footer ul li a {
    text-decoration: none;
    color: #999;
}

footer ul li a span {
    display: block;
    font-size: 16px;
}

footer ul li a:hover {
    color: tomato;
}

footer ul li:nth-child(1) a {
    color: tomato;
}

footer ul li a span:nth-child(1) {
    font-family: 'icomoon';
}